﻿<div class="row">
    <div class="col-xs-12 col-md-12 col-lg-12">
        <div class="widget">
            <div class="widget-header bg-blue">
            	<i class="widget-icon fa fa-arrow-left"></i>
                <span class="widget-caption">消息管理</span>
                <div class="widget-buttons">
                    <a href="#" data-toggle="maximize">
                        <i class="fa fa-expand"></i>
                    </a>
                    <a href="#" data-toggle="collapse">
                        <i class="fa fa-minus"></i>
                    </a>
                    <a href="#" data-toggle="dispose">
                        <i class="fa fa-times"></i>
                    </a>
                </div>
            </div>
            <div class="widget-body" style="height: auto;">

				<table class="table table-hover table-striped table-bordered">
                    <thead class="bordered-blueberry">
                        <tr role="row">
                        	<th style="width: 30px;">
                        		<div class="checkbox" style="margin-bottom: 0px; margin-top: 0px;">
									<label style="padding-left: 4px;"> <input type="checkbox" class="bb-checkall colored-blue">
                                     <span class="text"></span>
									</label>                                    
                                </div>
                        	</th>
                        	<th style="width: 80px;">头像</th>
                        	<th style="width: 120px;">昵称</th>
                        	<th>最后一条消息内容</th>
                        	<th style="width: 150px;">时间</th>
                        	<th style="width: 80px;">未读数</th>
                        	<th style="width: 125px;">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                    	<volist name="cache" id="vo">
                    		<tr>
                    			<td>
									<div class="checkbox" style="margin-bottom: 0px; margin-top: 0px;">
										<label style="padding-left: 4px;"> <input name="checkvalue" type="checkbox" class="colored-blue bb-check" value="{$vo.id}">
	                                     <span class="text"></span>
										</label>                                    
	                                </div>
								</td>
                    			<td align="center"><img src="<if condition="!$vo['is_img']"><if condition="$vo['headimgurl']">{$vo.headimgurl|substr=0,-1}64</if><else/>{$vo.headimgurl}</if>" /></td>
                    			<td>{$vo.nickname}</td>
                    			<td style="max-width:50px;overflow-x:hidden" >{$vo.content}</td>
                    			<td align="center">{$vo.createtime|date="Y-m-d H:i:s",###}</td>
                    			<td align="center"> <font color="red">{$vo.num}</font>  </td>
                    			<td align="center">
                    				<if condition="$vo['headimgurl']!='' ">
                        				<a href="{:U('Admin/Wxmessage/sendmsg',array('id'=>$vo['uid']))}" class="btn btn-info btn-xs" data-loader="bb-loader" data-loadername="回复消息" ><i class="fa fa-edit"></i> 回复消息 </a>
                        			</if>
                    			</td>
                    		</tr>
                    	</volist>
                    </tbody>
                </table>
               <div class="row DTTTFooter">{$page}</div>
            </div>
        </div>
    </div>
</div>

<!--面包屑导航封装-->
<div id="tmpbread" style="display: none;">{$breadhtml}</div>
<script type="text/javascript">
	setBread($('#tmpbread').html());
</script>

<script type="text/javascript">


</script>
